#ifndef WIDGET_H
#define WIDGET_H

#include <QWidget>

QT_BEGIN_NAMESPACE
namespace Ui { class Widget; }
QT_END_NAMESPACE

class Widget : public QWidget
{
    Q_OBJECT

public:
    Widget(QWidget *parent = nullptr);
    ~Widget();
    void init();
    int getTabWidgetNums();

    int getFrameNums();
    void setFrameNums(int nums);

    QString getFilePath();
    void setFilePath(QString filePath);

    void mousePressEvent(QMouseEvent *e);


public slots:
    void disableUnuseTabs(int index,int tabNums);

private:
    Ui::Widget *ui;
    int frmNums;
    QString filePath;
};
#endif // WIDGET_H
